<!DOCTYPE html>
<html>
	<head>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<meta name="format-detection" content="telephone=no" />
		<meta charset="UTF-8">
		<title>直播界面</title>
		<link rel="stylesheet" href="https://unpkg.com/mint-ui/lib/style.css">
		<link rel="stylesheet" type="text/css" href="css/common/common.css"/>
		<link rel="stylesheet" type="text/css" href="css/broadcast.css"/>
	</head>
	<body>
		<div id="player" style="width:100%;height:200px;">
			
		</div>
		<div id="broadcast">
			<div class="live">
				<mt-switch class="buff" v-model="value">弹幕</mt-switch>
				<img class="all" @click="all" src="img/broadcastcontent/all.png"/>
			</div>
			
			<div class="broadcast">
				<h3>{{title}}</h3>
				<h4>{{time}}</h4>
				<h5>直播简介</h5>
				<p>{{introduce}}</p>
				<h5>为你推荐</h5>
				<ul>
					<li><a><img src="img/broadcastcontent/2.jpg"/></a><p class="p_p">语文</p></li>
					<li><a><img src="img/broadcastcontent/3.jpg"/></a><p class="p_p">数学</p></li>
					<li><a><img src="img/broadcastcontent/4.jpg"/></a><p class="p_p">英语</p></li>
				</ul>
			</div>
			
		</div>
		<script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
		<script src="https://unpkg.com/mint-ui/lib/index.js"></script>
		<script type="text/javascript" charset="utf-8" src="http://yuntv.letv.com/player/live/blive.js"></script>
		<script src="js/vue-resource.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/common/common.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			
			new Vue({
		        el: '#broadcast',
		        data:{
		        	value:'',
		        	title:'智能卡与RFID技术课堂直播',
		        	time:'每周三、五14:30直播',
		        	introduce:'这里是直播简介！这里是直播简介！这里是直播简介！这里是直播简介！这里是直播简介！这里是直播简介！'
		        },
		        created:function(){
//		        	var player = new CloudLivePlayer();
//					player.init({activityId:"A201708180000064"});
		        },
		        methods: {
		            prev: function () {
		              
		            },
		            next: function () {
		               
		            },
		            all:function(){
		            	this.$toast( '全屏');
		            }
		        }
		    });
		    	var player = new CloudLivePlayer();
				player.init({activityId:"A20170818000007a"});
		</script>
	</body>
</html>
